package org.zoomdev.zoom.dao.adapters;

import java.sql.ResultSet;
import java.sql.SQLException;

public interface ResultSetMapper<T> {

    /**
     * 将rs的值映射到data中
     *
     * @param rs
     * @param columnIndex
     * @param data
     */
    void map(ResultSet rs, int columnIndex, T data) throws SQLException;
}
